Optimal. Leaf size=37 \[ -\frac{a+b \tan ^{-1}(c x)}{2 x^2}-\frac{1}{2} b c^2 \tan ^{-1}(c x)-\frac{b c}{2 x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0195559, antiderivative size = 37, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {4852, 325, 203} \[ -\frac{a+b \tan ^{-1}(c x)}{2 x^2}-\frac{1}{2} b c^2 \tan ^{-1}(c x)-\frac{b c}{2 x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4852
Rule 325
Rule 203
Rubi steps
\begin{align*} \int \frac{a+b \tan ^{-1}(c x)}{x^3} \, dx &=-\frac{a+b \tan ^{-1}(c x)}{2 x^2}+\frac{1}{2} (b c) \int \frac{1}{x^2 \left (1+c^2 x^2\right )} \, dx\\ &=-\frac{b c}{2 x}-\frac{a+b \tan ^{-1}(c x)}{2 x^2}-\frac{1}{2} \left (b c^3\right ) \int \frac{1}{1+c^2 x^2} \, dx\\ &=-\frac{b c}{2 x}-\frac{1}{2} b c^2 \tan ^{-1}(c x)-\frac{a+b \tan ^{-1}(c x)}{2 x^2}\\ \end{align*}
Mathematica [C] time = 0.0028617, size = 46, normalized size = 1.24 \[ -\frac{b c \text{Hypergeometric2F1}\left (-\frac{1}{2},1,\frac{1}{2},-c^2 x^2\right )}{2 x}-\frac{a}{2 x^2}-\frac{b \tan ^{-1}(c x)}{2 x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 35, normalized size = 1. \begin{align*} -{\frac{a}{2\,{x}^{2}}}-{\frac{b\arctan \left ( cx \right ) }{2\,{x}^{2}}}-{\frac{b{c}^{2}\arctan \left ( cx \right ) }{2}}-{\frac{bc}{2\,x}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.46763, size = 42, normalized size = 1.14 \begin{align*} -\frac{1}{2} \,{\left ({\left (c \arctan \left (c x\right ) + \frac{1}{x}\right )} c + \frac{\arctan \left (c x\right )}{x^{2}}\right )} b - \frac{a}{2 \, x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.56519, size = 70, normalized size = 1.89 \begin{align*} -\frac{b c x +{\left (b c^{2} x^{2} + b\right )} \arctan \left (c x\right ) + a}{2 \, x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.744, size = 37, normalized size = 1. \begin{align*} - \frac{a}{2 x^{2}} - \frac{b c^{2} \operatorname{atan}{\left (c x \right )}}{2} - \frac{b c}{2 x} - \frac{b \operatorname{atan}{\left (c x \right )}}{2 x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.29837, size = 74, normalized size = 2. \begin{align*} \frac{b c^{2} i x^{2} \log \left (c i x + 1\right ) - b c^{2} i x^{2} \log \left (-c i x + 1\right ) - 2 \, b c x - 2 \, b \arctan \left (c x\right ) - 2 \, a}{4 \, x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]